// samsting : this file is auto create.

#include "Drds/2015-04-13/ListUnCompleteTasksResponse.h"

namespace aliyun { namespace Drds {

ListUnCompleteTasksResponse::ListUnCompleteTasksResponse() {
}

const string& ListUnCompleteTasksResponse::task::GetRequestId(void) const {
  return RequestId_;
}

const string& ListUnCompleteTasksResponse::task::GetTargetId(void) const {
  return TargetId_;
}

const string& ListUnCompleteTasksResponse::task::GetTaskDetail(void) const {
  return TaskDetail_;
}

int ListUnCompleteTasksResponse::task::GettaskStatus(void) const {
  return taskStatus_;
}

const string& ListUnCompleteTasksResponse::task::GetTaskPhase(void) const {
  return TaskPhase_;
}

int ListUnCompleteTasksResponse::task::GetTaskType(void) const {
  return TaskType_;
}

const string& ListUnCompleteTasksResponse::task::GetTaskName(void) const {
  return TaskName_;
}

int64 ListUnCompleteTasksResponse::task::GetgmtCreate(void) const {
  return gmtCreate_;
}

const string& ListUnCompleteTasksResponse::task::GetAllowCancel(void) const {
  return AllowCancel_;
}

const string& ListUnCompleteTasksResponse::task::GetErrMsg(void) const {
  return ErrMsg_;
}

const std::vector<ListUnCompleteTasksResponse::task>& ListUnCompleteTasksResponse::GetData(void) const {
  return Data_;
}

const char* ListUnCompleteTasksResponse::BaseKey(void) {
  return "ListUnCompleteTasksResponse";
}

void ListUnCompleteTasksResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Data__length = 0;
  UnmarshallerInt(Data__length, response_map, "ListUnCompleteTasksResponse.Data.Length");
  if(Data__length >= 0) {
    Data_.resize(Data__length);
    for(int i1 = 0; i1 < Data__length; i1++) {
      UnmarshallerString(Data_[i1].RequestId_, response_map, "ListUnCompleteTasksResponse.Data["+string_ValueOfInt(i1)+"].RequestId");
      UnmarshallerString(Data_[i1].TargetId_, response_map, "ListUnCompleteTasksResponse.Data["+string_ValueOfInt(i1)+"].TargetId");
      UnmarshallerString(Data_[i1].TaskDetail_, response_map, "ListUnCompleteTasksResponse.Data["+string_ValueOfInt(i1)+"].TaskDetail");
      UnmarshallerInt(Data_[i1].taskStatus_, response_map, "ListUnCompleteTasksResponse.Data["+string_ValueOfInt(i1)+"].taskStatus");
      UnmarshallerString(Data_[i1].TaskPhase_, response_map, "ListUnCompleteTasksResponse.Data["+string_ValueOfInt(i1)+"].TaskPhase");
      UnmarshallerInt(Data_[i1].TaskType_, response_map, "ListUnCompleteTasksResponse.Data["+string_ValueOfInt(i1)+"].TaskType");
      UnmarshallerString(Data_[i1].TaskName_, response_map, "ListUnCompleteTasksResponse.Data["+string_ValueOfInt(i1)+"].TaskName");
      UnmarshallerInt64(Data_[i1].gmtCreate_, response_map, "ListUnCompleteTasksResponse.Data["+string_ValueOfInt(i1)+"].gmtCreate");
      UnmarshallerString(Data_[i1].AllowCancel_, response_map, "ListUnCompleteTasksResponse.Data["+string_ValueOfInt(i1)+"].AllowCancel");
      UnmarshallerString(Data_[i1].ErrMsg_, response_map, "ListUnCompleteTasksResponse.Data["+string_ValueOfInt(i1)+"].ErrMsg");
    } // for(int i1 = 0; i1 < Data__length; i1++) {
  } // if(Data__length >= 0) {

}


} } // namespace aliyun { namespace Drds {

// end of file 
